package com.yuexun.dhdoctor.module.Contract.adapter;

import android.widget.AbsListView;

import com.yuexun.dhdoctor.R;
import com.yuexun.dhdoctor.module.Contract.bean.ManageGroupUserBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by work-jx on 2016/7/26.
 */
public class ManageGroupAdapter extends KJAdapter<ManageGroupUserBean> {

    public ManageGroupAdapter(AbsListView view, Collection<ManageGroupUserBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, ManageGroupUserBean manageGroupUserBean, boolean b) {
        adapterHolder.setText(R.id.item_send_addmember_name, manageGroupUserBean.getToName());
    }
}
